function main(params) {
    debugger
    let unitId = params['70e3a5e3-0d33-47e0-a582-b6192c2dfeff'];
    window.clickNodeTree = 1;
    // 获取页面树实例
    var pageTreeEle = this.$$element("page_tree_4abi0o");
    let aa = this.$$("tree_panel_78vxbg");
    // 获取树渲染实例
    var treeRenderEle = pageTreeEle.$$getRenderElement();
    // 获取当前树实例
    var treePanelEle = treeRenderEle.$$getTreeElement();
    // 获取第一个节点
    // params[0].unit_id.value;
    var firstNode = unitId;
    treePanelEle.$$clickNode({ key: firstNode });
    aa.$$setExpandKeys(treePanelEle.$$getSelection().selectedKeys)

    aa.getExpandKeys().then(res=>{
        aa.setDefaultExpandkeys(treePanelEle.$$getSelection().selectedKeys)
    })
    aa.focusOnDefaultNode()
    aa.keepTreePositon();

}
